package cn.school.dao;

import cn.school.entity.Grade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GradeDao {
	public Grade get(long id);
	public java.util.List<Grade> findALL();

	public List<Grade>  search(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize,@Param("gname")String gname);

	public int  searchTotal(@Param("gname")String gname);
}
